/* 首页头部 */
header h1 a {
	background: url(../imgs/new-logo-white2.png) no-repeat;
}
header ul li {
	color: #857973;
}
header ul li.on::after {
	background-color: #00bdff;
	color: #00bdff;
}
header span.btn1 {
	border: 1px solid #857973;
	color: #857973;
}
header {
	border-bottom: 1px solid #c7d8f2;
}

/* 站位符 */
main .null {
	width: 100%;
	height: 100px;
}
/* api分类部分 */
main #APICate h2 {
	line-height: 100px;
	font-size: 30px;
}
main #APICate ul {
	flex-wrap: wrap;
}
main #APICate ul li {
	padding: 10px 15px;
	border: 1px solid #857973;
	border-radius: 10px;
	font-size: 14px;
	margin-right: 10px;
	margin-bottom: 15px;
}
main #APICate ul li.on {
	color: #00bdff;
	border-color: #00bdff;
}
.API-serch {
	margin-top: 60px;
}
.API-serch input {
	outline: none;
	border: none;
	background-color: #f4f4f4;
	width: 230px;
	height: 30px;
	box-sizing: border-box;
	padding-left: 20px;
	margin-left: 20px;
	border-radius: 20px;
}
main #APICate .API-serch {
	position: relative;
}
main #APICate .API-serch img {
	position: absolute;
	left: 250px;
	bottom: 6px;
}
/* 类容区域 */
#APIcontent .list {
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 25px;
}
#APIcontent .list li {
	display: flex;
	position: relative;
	width: 230px;
	height: 270px;
	flex-direction: column;
	text-align: center;
	align-items: center;
	overflow: hidden;
	border: 1px solid #eeeeee;
	margin-bottom: 10px;
	margin-right: 10px;
}

#APIcontent ul li img {
	margin-top: 50px;
}
#APIcontent ul li:nth-child(5n) {
	margin-right: 0px;
}
#APIcontent ul li p:nth-child(2) {
	font-size: 12px;
	line-height: 40px;
}
#APIcontent ul li p:nth-child(3) {
	margin-bottom: 10px;
	font-size: 16px;
}
#APIcontent ul li a {
	position: absolute;
	left: 20px;
	color: white;
	width: 190px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	background-color: #00bdff;
	bottom: -50px;
	transition: all 0.5s;
}
#APIcontent .list li:hover a {
	bottom: 20px;
}
#APIcontent .list li:hover {
	box-shadow: 0 0 4px gray;
}
#APIcontent .list li span {
	width: 56px;
	height: 20px;
	background-color: #e5f8ff;
	color: #00bdff;
	font-size: 12px;
	text-align: center;
	line-height: 20px;
	position: absolute;
	top: 10px;
	left: 10px;
}
#APIcontent .sorter {
	width: 200px;
	height: 40px;
	margin: 0 auto;
	margin-top: 20px;
}
#APIcontent .sorter li {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #857973;
	float: left;
	text-align: center;
	line-height: 40px;
	margin-right: 10px;
}
#APIcontent .sorter li:hover {
	cursor: pointer;
}
#APIcontent .sorter li.active {
	background-color: #00bdff;
	color: white;
}
/* 模态框 */
.masck {
	/* display: none; */
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 70;
	background-color: rgba(0, 0, 0, 0.4);
}
.modol {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -200px;
	margin-top: -275px;
	width: 400px;
	height: 550px;
	background-color: white;
	box-sizing: border-box;
	padding: 30px 20px;
	text-align: center;
}
.masck .modol ul {
	width: 200px;
	height: 40px;
	margin: 40px auto;
	display: flex;
	justify-content: space-between;
}
.masck .modol ul::after {
	content: "";
	display: block;
	width: 2px;
	height: 20px;
	background-color: #ccc;
	position: absolute;
	left: 200px;
	bottom: 410px;
	font-weight: bold;
}
.masck .modol ul li.on {
	position: relative;
	color: #00bdff;
}
.masck .modol ul li.on::after {
	content: "";
	display: block;
	width: 50px;
	height: 2px;
	background-color: #00bdff;
	position: absolute;
	left: 6px;
	bottom: 13px;
}
